//
//  BKOrderPaymentView.h
//  bestkeep
//
//  Created by 马乾征 on 16/11/14.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BK_OD_Tool.h"

/**
    订单支付  view  基类
 */
@interface BKOrderPaymentView : UIView
@property(nonatomic, weak)id delegate;
@end


/**
    订单支付时间 headerView delegate
 */
@protocol BKOrderPaymentTimeLimitTableHeaderViewDelegate <NSObject>

@optional
- (void)orderPaymentTimeOut;

@end

/**
    订单支付限制时间 tableView headerView
 */
@interface BKOrderPaymentTimeLimitTableHeaderView : BKOrderPaymentView

- (void)setTimeLimit:(NSNumber *)timeLimit;
- (void)timerInvalidate;
@end



/**
    底部 立即支付 view delegate
 */
@class BKOrderPaymentNowView;
@protocol BKOrderPaymentNowViewDelegate <NSObject>

@required
- (void)orderPaymentNowViewDidSelected:(BKOrderPaymentNowView *)paymentNowView;

@end
/**
    底部 立即支付 view
 */
@interface BKOrderPaymentNowView : BKOrderPaymentView

@property(nonatomic, assign)BOOL canPayment;
@property(nonatomic, strong, readonly)NSNumber *amount;
- (void)setPaymentWithAmount:(NSNumber *)amount;

@end
